package quick.start.core.view.adapter;

import java.io.Serializable;
import java.util.List;

import com.google.gson.annotations.SerializedName;

public class PagingResult<T> implements Serializable {

	private static final long serialVersionUID = 1L;
	
	@SerializedName("TotalCount")
	private int totalCount;
	
	@SerializedName("Items")
	private List<T> items;
	
	public int getTotalCount() {
		return totalCount;
	}
	
	public void setTotalCount(int totalCount){
		this.totalCount = totalCount;
	}

	public List<T> getItems() {
		return items;
	}

	public PagingResult(int totalCount, List<T> items){
		this.totalCount = totalCount;
		this.items = items;
	}

}
